function addEvent(element, eventName, handler, phase){
    if(window.addEventListener){
        element.addEventListener(eventName, handler, phase);
    }
}

